package elementos;

import com.jmex.physics.PhysicsNode;

public class Elemento {
	
	protected int row;
	protected int col;
	public String name;
	protected PhysicsNode node;

	
	public Elemento() {
	}

	public int getRow() {
		return row;
	}

	public void setRow(int row) {
		this.row = row;
	}

	public int getCol() {
		return col;
	}

	public void setCol(int col) {
		this.col = col;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
		node.setName(name + "_node");
	}

	public PhysicsNode getNode() {
		return node;
	}

	public void setNode(PhysicsNode node) {
		this.node = node;
	}
	
	@Override
	public String toString() {
		return name;
	}


	
	
}
